package com.bwie.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbProdInfo;
import com.bwie.service.TbProdInfoService;
import com.bwie.mapper.TbProdInfoMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【tb_prod_info(商品信息表)】的数据库操作Service实现
* @createDate 2025-06-20 15:28:37
*/
@Service
public class TbProdInfoServiceImpl extends ServiceImpl<TbProdInfoMapper, TbProdInfo>
    implements TbProdInfoService{

    @Autowired
    TbProdInfoMapper tbProdInfoMapper;

    @Override
    public R getProdInfoList() {
        List<TbProdInfo> tbProdInfos = tbProdInfoMapper.selectList(null);
        return R.ok(tbProdInfos);
    }
}




